//
// Created by Martin on 2021/10/2.
//

#ifndef DESIGNPATTERN_CPP_UNSHAREDCONCRETEFLYWEIGHT_H
#define DESIGNPATTERN_CPP_UNSHAREDCONCRETEFLYWEIGHT_H

#include "Flyweight.h"
#include <string>

/**
 * 非享元角色
 */
class UnsharedConcreteFlyweight : public Flyweight {
public:
    explicit UnsharedConcreteFlyweight(std::string& extrinsic);
    ~UnsharedConcreteFlyweight();
    void operation(int extrinsic) override;
};


#endif //DESIGNPATTERN_CPP_UNSHAREDCONCRETEFLYWEIGHT_H
